import { createApp } from 'vue'
import App from './App.vue'

// https://www.jianshu.com/p/a71d231db398
// vue3 全局挂载 axios
import axios from 'axios'
const app = createApp(App)
axios.defaults.baseURL = "https://www.escook.cn" //这里可以设置 axios 请求url的前半部分，使用时只需要传参数即可
app.config.globalProperties.$http = axios;
// createApp(App).mount('#app')
app.mount("#app")
